package com.hytc.study.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class AppTest {

    @Autowired
    private StudentController studentController;
    @PostConstruct
    void init(){
        System.out.println(studentController.addNumber(1,1));
    }
}
